export default [
  {
    path: '/marketing/coupon',
    meta: { title: '优惠券管理' },
    children: [
      {
        path: '/',
        name: 'CouponList',
        component: () => import('@/views/marketing/coupon/couponList/couponList.vue'),
        hidden: true
      },
      {
        path: 'detail',
        name: 'CouponDetail',
        component: () => import('@/views/marketing/coupon/couponDetail/couponDetail.vue'),
        meta: { title: '优惠券详情' },
        hidden: true
      },
      {
        path: 'record',
        name: 'CouponRecord',
        component: () => import('@/views/marketing/coupon/couponRecord/couponRecord.vue'),
        meta: { title: '优惠券使用记录' },
        hidden: true
      }
    ]
  },
  {
    path: '/marketing/activity',
    meta: { title: '活动管理' },
    children: [
      {
        path: '/',
        name: 'ActivityList',
        component: () => import('@/views/marketing/activity/activityList.vue'),
        hidden: true
      },
      {
        path: 'detail',
        name: 'ActivityDetail',
        component: () => import('@/views/marketing/activity/activityDetail.vue'),
        meta: { title: '活动详情' },
        hidden: true
      }
    ]
  },
  {
    path: '/marketing/seckill',
    meta: { title: '秒杀活动列表' },
    children: [
      {
        path: '/',
        name: 'SeckillList',
        component: () => import('@/views/marketing/seckillList/seckillList.vue'),
        hidden: true
      },
      {
        path: 'detail',
        name: 'SeckillDetail',
        component: () => import('@/views/marketing/seckillDetail/seckillDetail.vue'),
        meta: { title: '秒杀活动详情' },
        hidden: true
      }
    ]
  },
  {
    path: '/marketing/seckillProduct',
    name: 'SeckillProductList',
    component: () => import('@/views/marketing/seckillProductList/seckillProductList.vue'),
    meta: { title: '秒杀产品记录' }
  }
]
